package com.shensi.api.admin.domian.station.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Auther: zxy
 * @Date: 2023/8/31 18:15
 * @Description:
 */
@Data
@ApiModel("成员管理")
@NoArgsConstructor
@AllArgsConstructor
public class MemberManagementDto {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "业务员id")
    @NotNull(message = "业务员id不能为空")
    private Long salesmanId;

    @ApiModelProperty(value = "油企id")
    @NotEmpty(message = "油企id不能为空")
    private List<String> enterpriseIds;

    @ApiModelProperty(value = "负责人")
    private Long leaderId;
}
